home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2000-12-21 | 1.8 KB | 63 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="2"
- "UIPATH"="Appearance\Desktop\Active Desktop"
- "NAME"="Active Desktop Toolbar Options"
- "VERSION"="1.06"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Enable moving toolbars"
- "TEXT 2"="Enable closing toolbars"
- "DESCRIPTION 1"="This plugin allows you to change some settings for Active Desktop."
- "DESCRIPTION 2"="NOTE: The "toolbars" are also known as "bars"."
- "AUTHOR"="Ojatex@aol.com"
- "CONTACTURL"="http://members.aol.com/ojatex/"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"="Does anybody outside of Redmond really use Active Desktop?"
-
- 'note: 0 = disable restriction, 1 = enable restriction
-
-
- Sub Plugin_Initialize
-
- i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop\NoMovingBands")
- if i=0 or IsEmpty(i) then SetUIElement 1,true
-
- i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop\NoCloseDragDropBands")
- if i=0 or IsEmpty(i) then SetUIElement 2,true
-
-
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
-
-
- b=GetUIElement(1)
- if b=false then
- Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop\NoMovingBands","1",2)
- else
- Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop\NoMovingBands","0",2)
- end if
-
- b=GetUIElement(2)
- if b=false then
- Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop\NoCloseDragDropBands","1",2)
- else
- Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop\NoCloseDragDropBands","0",2)
- end if
-
- Call Logoff
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-